package com.situ.vivamarket.dao;

import com.situ.vivamarket.model.Brand;
import com.situ.vivamarket.model.Category;
import com.situ.vivamarket.model.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryDao {

    public Category findById(Integer id);

    public List<Category> findAll();

    int deleteByIds(Integer[] ids);


    int insert(Category category);


    int update(Category category);

}
